package client;

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class StudentPanel extends JPanel {
	public StudentPanel() {
		setLayout(null);
		
		JLabel lblStudentview = new JLabel("StudentView");
		lblStudentview.setBounds(195, 97, 111, 14);
		add(lblStudentview);
		
		JButton btnBacktologin = new JButton("BackToLogin");
		btnBacktologin.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				ClientWindow.cw.showlp();
			}
		});
		btnBacktologin.setBounds(309, 246, 111, 23);
		add(btnBacktologin);
	}

}
